
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
Creating and opening workspaces</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="pbugp6.htm">Previous</A>&nbsp;&nbsp;<A HREF="pbugp8.htm" >Next</A>
<!-- End Header -->
<A NAME="CHDFCIIE"></A><h1>Creating and opening workspaces</h1>
<A NAME="TI235"></A><p>Before you can begin any development in PowerBuilder, you
need to create or open a workspace. </p>
<A NAME="TI236"></A><h2>Creating a workspace</h2>
<A NAME="TI237"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To create a new workspace:</p>
<ol><li class=fi><p>Do one of the following:<A NAME="TI238"></A>
<ul>
<li class=fi>Click
the New button in the PowerBar.</li>
<li class=ds>Select File&gt;New from the menu bar. </li>
<li class=ds>In the Workspace tab of the System Tree, right-click
the workspace name and select New from the pop-up menu. 
</li>
</ul>

                      </p><p>The New dialog box opens.</p></li>
<li class=ds><p>On the Workspace tab, select Workspace.</p><p>The New Workspace dialog box displays.</p></li>
<li class=ds><p>Enter a name for the workspace (<i>.pbw</i>)
you want to create and click Save.</p><p>The workspace is created and the name of the new workspace
displays in the PowerBuilder title bar.</p></li></ol>
<br><A NAME="TI239"></A><h2>Opening a workspace</h2>
<A NAME="TI240"></A><p>The next time you start PowerBuilder, it opens without opening
a workspace. You can change this behavior by modifying options on
the Workspaces page of the System Options dialog box or on the Welcome
to PowerBuilder screen. For example, you can have PowerBuilder open
not only the workspace you used most recently, but also the objects
and scripts you worked on last. See <A HREF="pbugp17.htm#CHDGDGFH">"Starting PowerBuilder with
an open workspace"</A>.</p>
<A NAME="TI241"></A><p>When PowerBuilder opens with an open workspace, it displays
the name of the current workspace in the title bar. The current
workspace is also displayed in the Workspace tab page in the System
Tree. Although you can create multiple workspaces, you can have
only one workspace open at a time. You can change workspaces at
any time. </p>
<A NAME="TI242"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To change workspaces:</p>
<ol><li class=fi><p>Do one of the following:<A NAME="TI243"></A>
<ul>
<li class=fi>Select
File&gt;Open Workspace from the menu bar.</li>
<li class=ds>In the Workspace tab of the System Tree, right-click
on the workspace name and select Open Workspace from the pop-up
menu. 
</li>
</ul>

                      </p><p>The Open Workspace dialog box displays.</p></li>
<li class=ds><p>From the list, select the workspace you want to
open.</p><p>The workspace is changed and the name of the new workspace
displays in the PowerBuilder title bar.</p></li></ol>
<br><A NAME="TI244"></A><p><img src="images/proc.gif" width=17 height=17 border=0 align="bottom" alt="Steps"> To change the workspace to a recent workspace:</p>
<ol><li class=fi><p>Select File&gt;Recent Workspaces from the
menu bar and select the workspace.</p><p>The workspace list includes the eight most recently accessed
workspaces. You can include up to 36 workspaces on the list by selecting
Tools&gt;System Options and modifying the number of items.</p></li></ol>
<br>
